package com.xlx.openLink.entity.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class Alarm implements Serializable {
    private String pkGuid;

    private String alPortId;

    private String alDevIp;

    private String alDevId;

    private String alType;

    private String alSendStatus;

    private String alPortName;

    private String alLevel;

    private String alDevName;

    private String alStatus;

    private String alMsg;

    private String alDlName;

    private String alDlId;

    private Date alDlDate;

    private Date alCreateDate;

    private Date alUpdateDate;

    private static final long serialVersionUID = 1L;

    public String getPkGuid() {
        return pkGuid;
    }

    public void setPkGuid(String pkGuid) {
        this.pkGuid = pkGuid == null ? null : pkGuid.trim();
    }

    public String getAlPortId() {
        return alPortId;
    }

    public void setAlPortId(String alPortId) {
        this.alPortId = alPortId == null ? null : alPortId.trim();
    }

    public String getAlDevIp() {
        return alDevIp;
    }

    public void setAlDevIp(String alDevIp) {
        this.alDevIp = alDevIp == null ? null : alDevIp.trim();
    }

    public String getAlDevId() {
        return alDevId;
    }

    public void setAlDevId(String alDevId) {
        this.alDevId = alDevId == null ? null : alDevId.trim();
    }

    public String getAlType() {
        return alType;
    }

    public void setAlType(String alType) {
        this.alType = alType == null ? null : alType.trim();
    }

    public String getAlSendStatus() {
        return alSendStatus;
    }

    public void setAlSendStatus(String alSendStatus) {
        this.alSendStatus = alSendStatus == null ? null : alSendStatus.trim();
    }

    public String getAlPortName() {
        return alPortName;
    }

    public void setAlPortName(String alPortName) {
        this.alPortName = alPortName == null ? null : alPortName.trim();
    }

    public String getAlDevName() {
        return alDevName;
    }

    public void setAlDevName(String alDevName) {
        this.alDevName = alDevName == null ? null : alDevName.trim();
    }

    public String getAlStatus() {
        return alStatus;
    }

    public void setAlStatus(String alStatus) {
        this.alStatus = alStatus == null ? null : alStatus.trim();
    }

    public String getAlMsg() {
        return alMsg;
    }

    public void setAlMsg(String alMsg) {
        this.alMsg = alMsg == null ? null : alMsg.trim();
    }

    public String getAlDlName() {
        return alDlName;
    }

    public void setAlDlName(String alDlName) {
        this.alDlName = alDlName == null ? null : alDlName.trim();
    }

    public String getAlDlId() {
        return alDlId;
    }

    public void setAlDlId(String alDlId) {
        this.alDlId = alDlId == null ? null : alDlId.trim();
    }
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getAlDlDate() {
        return alDlDate;
    }

    public void setAlDlDate(Date alDlDate) {
        this.alDlDate = alDlDate;
    }
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getAlCreateDate() {
        return alCreateDate;
    }

    public void setAlCreateDate(Date alCreateDate) {
        this.alCreateDate = alCreateDate;
    }
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getAlUpdateDate() {
        return alUpdateDate;
    }

    public void setAlUpdateDate(Date alUpdateDate) {
        this.alUpdateDate = alUpdateDate;
    }

    public String getAlLevel() {
        return alLevel;
    }

    public void setAlLevel(String alLevel) {
        this.alLevel = alLevel;
    }
}